package de.crm;

import de.crm.storage.Customer;
import de.crm.storage.IPersistentObject;
import de.crm.storage.StorageFacade;

public class Main {

	public static void main(String[] args) {
		Customer customer = StorageFacade.createCustomer();
		
		customer.setName("Martin");
		
		StorageFacade.store(customer);
		
		for(IPersistentObject customerLoad : StorageFacade.read()) {
			System.err.println(customerLoad);
		}
	}
}
